"use strict";

let esClient = require('../../model/elasticSearch.js');
let metaInfo = require('../../model/es/news.js');
let BaseEsDao = require('./BaseEsDao.js');
let util = require('util');

function ElasticDao() {
    let self = this instanceof BaseEsDao ? this : new BaseEsDao();
    self.init(metaInfo, esClient);
    return self;
}
util.inherits(ElasticDao, BaseEsDao);

module.exports = ElasticDao;
